var floorSpeed: float;
var textureDirection: float = 1;
function Update() {
	
	Init();
	
}

function Init()
{
	var offset: float = Time.time + floorSpeed;
	renderer.material.mainTextureOffset = Vector2 ( (1*-offset) * textureDirection,0);
}